<div class="row nested-fields">
  <%= f.input :id, as: :hidden %>
  <%= f.input :commodity_type, collection: Ssp::ReportItem::COMMODITY_TYPES, wrapper_html: { class: 'col-md-3' }, input_html: { class: 'select2' }, label: false %>
  <%= f.input :commodity_id, collection: Ssp::ReportItem.grouped_commodites_for_select_options, wrapper_html: { class: 'col-md-3' }, input_html: { class: 'select2' }, as: :grouped_select, group_method: :last, label: false %>
  <%= f.input :price, wrapper_html: { class: 'col-md-3' }, label: false %>
  <%= f.input :count, wrapper_html: { class: 'col-md-3' }, label: false %>
  <%= link_to_remove_association "删除条目", f, class: "btn btn-danger remove-button" %>
</div>
